package com.tange.feature.data.structure

import com.appbase.custom.base.RtcIceServer
import com.google.gson.annotations.SerializedName
import com.tange.base.toolkit.NotProguard


/**
 * 基础设备信息
 *
 * @author allenfeng
 */
@NotProguard
data class DeviceBasicResp(

    @SerializedName("abilities")
    val abilities: String? = "",

    @SerializedName("active_time")
    val activeTime: String? = "",

    @SerializedName("actived")
    val actived: String? = "",

    @SerializedName("ai_abilities")
    val aiAbilities: String? = "",

    @SerializedName("attrs")
    val attributes: String? = "",

    @SerializedName("bind_type")
    val bindType: String? = "",

    @SerializedName("city")
    val city: String? = "",

    @SerializedName("connect_way")
    val connectWay: String? = "",

    @SerializedName("country")
    val country: String? = "",

    @SerializedName("current_version")
    val versionName: String? = "",

    @SerializedName("current_version_code")
    val versionCode: String? = "",

    @SerializedName("current_versions")
    val versionsName: String? = "",

    @SerializedName("current_versions_code")
    val versionsCode: String? = "",

    @SerializedName("des_key")
    val decryptKey: String? = "",

    @SerializedName("device_type")
    val productType: String? = "",

    @SerializedName("ext_attrs")
    val extraAttributes: String? = "",

    @SerializedName("feature")
    val feature: String? = "",

    @SerializedName("firmware_id")
    val firmwareId: String? = "",

    @SerializedName("has_doorlock_pwd")
    val hasLockPassword: Boolean? = false,

    @SerializedName("id")
    val id: Long? = 0,

    @SerializedName("iccid")
    val iccid: String? = "",

    @SerializedName("image_path")
    val cover: String? = "",

    @SerializedName("is_online")
    val isOnline: String? = "",

    @SerializedName("is_open")
    val isOpen: Int? = 0,

    @SerializedName("is_upgrade")
    val isUpgrade: Int? = 0,

    @SerializedName("name")
    val name: String? = "",

    @SerializedName("notice")
    val notice: Int? = 0,

    @SerializedName("p2p_id")
    val p2pId: String? = "",

    @SerializedName("p2p_platform")
    val p2pPlatform: String? = "",

    @SerializedName("p2p_type")
    val p2pType: String? = "",

    @SerializedName("password")
    val password: String? = "",

    @SerializedName("preconnect")
    val preconnect: Int? = 0,

    @SerializedName("start_time")
    val startTime: String? = "",

    @SerializedName("timezone")
    val timezone: String? = "",

    @SerializedName("update_finish_time")
    val updateFinishTime: String? = "",

    @SerializedName("update_progress")
    val updateProgress: String? = "",

    @SerializedName("update_status")
    val updateStatus: String? = "",

    @SerializedName("upgrade_version")
    val upgradeVersion: String? = "",

    @SerializedName("uuid")
    val uuid: String? = "",

    @SerializedName("tg_relay")
    val relay: String? = "",

    @SerializedName("gps_model")
    val gpsModel: Int? = 0,

    @SerializedName("tg_webrtc")
    val iceServers: List<RtcIceServer>? = listOf()
)









